diff options
| author | djm <> | 2010-10-01 22:54:21 +0000 |
|---|---|---|
| committer | djm <> | 2010-10-01 22:54:21 +0000 |
| commit | 2ea67f4aa254b09ded62e6e14fc893bbe6381579 (patch) | |
| tree | bb3923b81f2ce34b1ad62684afdf1a94d904c185 /src/lib/libcrypto/asn1/ameth_lib.c | |
| parent | 6ddfb710ab14b10183ff3a6a32f643554c80065e (diff) | |
| parent | 829fd51d4f8dde4a7f3bf54754f3c1d1a502f5e2 (diff) | |
| download | openbsd-2ea67f4aa254b09ded62e6e14fc893bbe6381579.tar.gz openbsd-2ea67f4aa254b09ded62e6e14fc893bbe6381579.tar.bz2 openbsd-2ea67f4aa254b09ded62e6e14fc893bbe6381579.zip | |
This commit was generated by cvs2git to track changes on a CVS vendor
branch.
Diffstat (limited to 'src/lib/libcrypto/asn1/ameth_lib.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/ameth_lib.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/libcrypto/asn1/ameth_lib.c b/src/lib/libcrypto/asn1/ameth_lib.c index 18957c669e..9a8b6cc222 100644 --- a/src/lib/libcrypto/asn1/ameth_lib.c +++ b/src/lib/libcrypto/asn1/ameth_lib.c | |||
| @@ -301,6 +301,8 @@ EVP_PKEY_ASN1_METHOD* EVP_PKEY_asn1_new(int id, int flags, | |||
| 301 | if (!ameth->info) | 301 | if (!ameth->info) |
| 302 | goto err; | 302 | goto err; |
| 303 | } | 303 | } |
| 304 | else | ||
| 305 | ameth->info = NULL; | ||
| 304 | 306 | ||
| 305 | if (pem_str) | 307 | if (pem_str) |
| 306 | { | 308 | { |
| @@ -308,6 +310,8 @@ EVP_PKEY_ASN1_METHOD* EVP_PKEY_asn1_new(int id, int flags, | |||
| 308 | if (!ameth->pem_str) | 310 | if (!ameth->pem_str) |
| 309 | goto err; | 311 | goto err; |
| 310 | } | 312 | } |
| 313 | else | ||
| 314 | ameth->pem_str = NULL; | ||
| 311 | 315 | ||
| 312 | ameth->pub_decode = 0; | 316 | ameth->pub_decode = 0; |
| 313 | ameth->pub_encode = 0; | 317 | ameth->pub_encode = 0; |
