ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/stable/0.6/crypto/openssl/crypto/pem/pem_pk8.c
(Generate patch)

Comparing stable/0.6/crypto/openssl/crypto/pem/pem_pk8.c (file contents):
Revision 7020 by laffer1, Sun Apr 19 15:51:35 2015 UTC vs.
Revision 7021 by laffer1, Sat Jun 13 13:12:15 2015 UTC

# Line 138 | Line 138 | static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder,
138          if (kstr == buf)
139              OPENSSL_cleanse(buf, klen);
140          PKCS8_PRIV_KEY_INFO_free(p8inf);
141 +        if (p8 == NULL)
142 +            return 0;
143          if (isder)
144              ret = i2d_PKCS8_bio(bp, p8);
145          else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines