diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_req.c')
-rw-r--r-- | src/lib/libcrypto/x509/x509_req.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_req.c b/src/lib/libcrypto/x509/x509_req.c index 8813f372cc..dc4bc2639a 100644 --- a/src/lib/libcrypto/x509/x509_req.c +++ b/src/lib/libcrypto/x509/x509_req.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_req.c,v 1.17 2015/03/15 22:52:17 doug Exp $ */ | 1 | /* $OpenBSD: x509_req.c,v 1.18 2015/09/30 17:30:16 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -86,7 +86,7 @@ X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) | |||
86 | 86 | ||
87 | ri = ret->req_info; | 87 | ri = ret->req_info; |
88 | 88 | ||
89 | if ((ri->version = M_ASN1_INTEGER_new()) == NULL) | 89 | if ((ri->version = ASN1_INTEGER_new()) == NULL) |
90 | goto err; | 90 | goto err; |
91 | if (ASN1_INTEGER_set(ri->version, 0) == 0) | 91 | if (ASN1_INTEGER_set(ri->version, 0) == 0) |
92 | goto err; | 92 | goto err; |