summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp')
-rw-r--r--src/lib/libcrypto/evp/evp_locl.h4
-rw-r--r--src/lib/libcrypto/evp/p_lib.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/evp/evp_locl.h b/src/lib/libcrypto/evp/evp_locl.h
index 37fc55eb9c..2bfcc6448e 100644
--- a/src/lib/libcrypto/evp/evp_locl.h
+++ b/src/lib/libcrypto/evp/evp_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp_locl.h,v 1.30 2022/11/10 16:37:52 jsing Exp $ */ 1/* $OpenBSD: evp_locl.h,v 1.31 2022/11/18 14:45:10 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2000. 3 * project 2000.
4 */ 4 */
@@ -93,7 +93,7 @@ struct evp_pkey_st {
93 const EVP_PKEY_ASN1_METHOD *ameth; 93 const EVP_PKEY_ASN1_METHOD *ameth;
94 ENGINE *engine; 94 ENGINE *engine;
95 union { 95 union {
96 char *ptr; 96 void *ptr;
97#ifndef OPENSSL_NO_RSA 97#ifndef OPENSSL_NO_RSA
98 struct rsa_st *rsa; /* RSA */ 98 struct rsa_st *rsa; /* RSA */
99#endif 99#endif
diff --git a/src/lib/libcrypto/evp/p_lib.c b/src/lib/libcrypto/evp/p_lib.c
index 2e0830b96e..ec3949b4c1 100644
--- a/src/lib/libcrypto/evp/p_lib.c
+++ b/src/lib/libcrypto/evp/p_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: p_lib.c,v 1.30 2022/11/10 14:46:44 jsing Exp $ */ 1/* $OpenBSD: p_lib.c,v 1.31 2022/11/18 14:45:10 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 *
@@ -388,7 +388,7 @@ EVP_PKEY_new_CMAC_key(ENGINE *e, const unsigned char *priv, size_t len,
388 goto err; 388 goto err;
389 } 389 }
390 390
391 ret->pkey.ptr = (char *)cmctx; 391 ret->pkey.ptr = cmctx;
392 392
393 return ret; 393 return ret;
394 394