summaryrefslogtreecommitdiff
path: root/auth-rsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth-rsa.c')
-rw-r--r--auth-rsa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/auth-rsa.c b/auth-rsa.c
index 493f14b11..92f6277f9 100644
--- a/auth-rsa.c
+++ b/auth-rsa.c
@@ -14,7 +14,7 @@
14 */ 14 */
15 15
16#include "includes.h" 16#include "includes.h"
17RCSID("$OpenBSD: auth-rsa.c,v 1.55 2002/03/29 19:18:33 stevesk Exp $"); 17RCSID("$OpenBSD: auth-rsa.c,v 1.56 2002/06/10 16:53:06 stevesk Exp $");
18 18
19#include <openssl/rsa.h> 19#include <openssl/rsa.h>
20#include <openssl/md5.h> 20#include <openssl/md5.h>
@@ -81,8 +81,8 @@ auth_rsa_verify_response(Key *key, BIGNUM *challenge, u_char response[16])
81 81
82 /* don't allow short keys */ 82 /* don't allow short keys */
83 if (BN_num_bits(key->rsa->n) < SSH_RSA_MINIMUM_MODULUS_SIZE) { 83 if (BN_num_bits(key->rsa->n) < SSH_RSA_MINIMUM_MODULUS_SIZE) {
84 error("auth_rsa_verify_response: n too small: %d bits", 84 error("auth_rsa_verify_response: RSA modulus too small: %d < minimum %d bits",
85 BN_num_bits(key->rsa->n)); 85 BN_num_bits(key->rsa->n), SSH_RSA_MINIMUM_MODULUS_SIZE);
86 return (0); 86 return (0);
87 } 87 }
88 88