diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-01-10 19:22:27 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-01-10 19:22:27 +0000 |
commit | 4fd1d46ca1d0c1852e8484d549725149ca284762 (patch) | |
tree | 4d9ba4efb187657f96b4d30fc46192ab0d28b061 /usr.bin/openssl/testdsa.h | |
parent | d839feaffcf125648a48d9ae2b7359116367e97e (diff) |
Unbreak tree. Sorry about that.
Diffstat (limited to 'usr.bin/openssl/testdsa.h')
-rw-r--r-- | usr.bin/openssl/testdsa.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/openssl/testdsa.h b/usr.bin/openssl/testdsa.h index 47560fd42cc..973e51f05ef 100644 --- a/usr.bin/openssl/testdsa.h +++ b/usr.bin/openssl/testdsa.h @@ -1,4 +1,4 @@ -/* $OpenBSD: testdsa.h,v 1.4 2022/01/10 15:14:27 tb Exp $ */ +/* $OpenBSD: testdsa.h,v 1.5 2022/01/10 19:22:26 tb Exp $ */ DSA *get_dsa512(void); DSA *get_dsa1024(void); @@ -211,9 +211,9 @@ get_dsa2048(void) DSA * get_dsa(const unsigned char *priv, size_t priv_size, const unsigned char *pub, size_t pub_size, - const unsigned char *p, size_t p_size, - const unsigned char *q, size_t q_size, - const unsigned char *g, size_t g_size) + const unsigned char *p_char, size_t p_size, + const unsigned char *q_char, size_t q_size, + const unsigned char *g_char, size_t g_size) { DSA *dsa; BIGNUM *priv_key = NULL, *pub_key = NULL; @@ -232,9 +232,9 @@ get_dsa(const unsigned char *priv, size_t priv_size, pub_key = NULL; priv_key = NULL; - p = BN_bin2bn(p, p_size, NULL); - q = BN_bin2bn(q, q_size, NULL); - g = BN_bin2bn(g, g_size, NULL); + p = BN_bin2bn(p_char, p_size, NULL); + q = BN_bin2bn(q_char, q_size, NULL); + g = BN_bin2bn(g_char, g_size, NULL); if (p == NULL || q == NULL || g == NULL) goto err; |