Skip to content

Commit

Permalink
crypto/x509: add omitpemdecrypt build tag to remove PEM encryption/de…
Browse files Browse the repository at this point in the history
…cryption

Saves a dependency on crypto/md5.

See golang#38450 (comment)

Updates golang#38450
  • Loading branch information
bradfitz committed Apr 15, 2020
1 parent 86ac226 commit 13acd8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/crypto/x509/pem_decrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build !omitpemdecrypt

package x509

// RFC 1423 describes the encryption of PEM blocks. The algorithm used to
Expand Down

0 comments on commit 13acd8d

Please sign in to comment.