diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2015-10-31 19:28:20 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2015-10-31 19:28:20 +0000 |
commit | 8ae124f1dcbf21882cf7d6e49d1b8653221a94cd (patch) | |
tree | 088f5d0e6b3ab118a4f4c205b1fe7a8609112936 /sbin/iked/crypto.c | |
parent | 1bc1478f3a069eb2b115fb0da8b27e6e5140ed02 (diff) |
RFC4754 specifies ECDSA-521 (sic), not -512. ok reyk@
Diffstat (limited to 'sbin/iked/crypto.c')
-rw-r--r-- | sbin/iked/crypto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/iked/crypto.c b/sbin/iked/crypto.c index c956e79ff8e..fdd7163e7b5 100644 --- a/sbin/iked/crypto.c +++ b/sbin/iked/crypto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crypto.c,v 1.18 2015/08/21 11:59:27 reyk Exp $ */ +/* $OpenBSD: crypto.c,v 1.19 2015/10/31 19:28:19 naddy Exp $ */ /* * Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org> @@ -498,7 +498,7 @@ dsa_new(uint16_t id, struct iked_hash *prf, int sign) case IKEV2_AUTH_ECDSA_384: dsa.dsa_priv = EVP_sha384(); break; - case IKEV2_AUTH_ECDSA_512: + case IKEV2_AUTH_ECDSA_521: dsa.dsa_priv = EVP_sha512(); break; default: |