summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2019-06-17 08:59:34 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2019-06-17 08:59:34 +0000
commit0e6d4f87b55d4940cf912d0605307a43ca7ae941 (patch)
tree142428e72d2156f97b8d1b36392ed236545a8b6e /usr.sbin
parent166dce3549cdaeda64db49630a69504c6843e350 (diff)
s/get1/get0/ in comments
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/acme-client/acctproc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/acme-client/acctproc.c b/usr.sbin/acme-client/acctproc.c
index 54b1822acd2..a904dea8925 100644
--- a/usr.sbin/acme-client/acctproc.c
+++ b/usr.sbin/acme-client/acctproc.c
@@ -1,4 +1,4 @@
-/* $Id: acctproc.c,v 1.16 2019/06/16 11:44:22 florian Exp $ */
+/* $Id: acctproc.c,v 1.17 2019/06/17 08:59:33 florian Exp $ */
/*
* Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -77,7 +77,7 @@ op_thumb_rsa(EVP_PKEY *pkey)
RSA *r;
if ((r = EVP_PKEY_get0_RSA(pkey)) == NULL)
- warnx("EVP_PKEY_get1_RSA");
+ warnx("EVP_PKEY_get0_RSA");
else if ((mod = bn2string(r->n)) == NULL)
warnx("bn2string");
else if ((exp = bn2string(r->e)) == NULL)
@@ -168,7 +168,7 @@ op_sign_rsa(char **prot, EVP_PKEY *pkey, const char *nonce, const char *url)
*/
if ((r = EVP_PKEY_get0_RSA(pkey)) == NULL)
- warnx("EVP_PKEY_get1_RSA");
+ warnx("EVP_PKEY_get0_RSA");
else if ((mod = bn2string(r->n)) == NULL)
warnx("bn2string");
else if ((exp = bn2string(r->e)) == NULL)