Skip to content

Commit

Permalink
Merge pull request #7 from Venafi/d.subbotin-small-improvments
Browse files Browse the repository at this point in the history
fix merge artifact
  • Loading branch information
mr-tron authored Dec 18, 2018
2 parents da9a24a + 8f9513f commit 7e85c80
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugin/pki/path_venafi_cert_enroll.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ func (b *backend) pathVenafiCertObtain(ctx context.Context, req *logical.Request
serialNumber := getHexFormatted(parsedCertificate.SerialNumber.Bytes(), ":")

encoded_key := pem.EncodeToMemory(pkey)
log.Println("Writing chain:", chain, "And key: ", encoded_key)
encoded_key := encodePKCS1PrivateKey(pkey)
log.Println("Writing chain:", chain, "And key: ", string(encoded_key))

var entry *logical.StorageEntry
Expand Down

0 comments on commit 7e85c80

Please sign in to comment.