From 8ae124f1dcbf21882cf7d6e49d1b8653221a94cd Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Sat, 31 Oct 2015 19:28:20 +0000 Subject: RFC4754 specifies ECDSA-521 (sic), not -512. ok reyk@ --- sbin/iked/crypto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/iked/crypto.c') 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 @@ -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: -- cgit v1.2.3