summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/x509/x509_req.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/x509/x509_req.c b/src/lib/libcrypto/x509/x509_req.c
index 119e25b32b..06d445f18c 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.38 2024/05/09 14:20:57 tb Exp $ */ 1/* $OpenBSD: x509_req.c,v 1.39 2024/05/09 14:22:16 tb 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 *
@@ -113,9 +113,9 @@ LCRYPTO_ALIAS(X509_to_X509_REQ);
113EVP_PKEY * 113EVP_PKEY *
114X509_REQ_get_pubkey(X509_REQ *req) 114X509_REQ_get_pubkey(X509_REQ *req)
115{ 115{
116 if ((req == NULL) || (req->req_info == NULL)) 116 if (req == NULL || req->req_info == NULL)
117 return (NULL); 117 return NULL;
118 return (X509_PUBKEY_get(req->req_info->pubkey)); 118 return X509_PUBKEY_get(req->req_info->pubkey);
119} 119}
120LCRYPTO_ALIAS(X509_REQ_get_pubkey); 120LCRYPTO_ALIAS(X509_REQ_get_pubkey);
121 121