summaryrefslogtreecommitdiff
path: root/ssh-rsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-rsa.c')
-rw-r--r--ssh-rsa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh-rsa.c b/ssh-rsa.c
index 458c9c840..3e66294e9 100644
--- a/ssh-rsa.c
+++ b/ssh-rsa.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: ssh-rsa.c,v 1.19 2002/05/31 13:20:50 markus Exp $"); 26RCSID("$OpenBSD: ssh-rsa.c,v 1.20 2002/06/10 16:53:06 stevesk Exp $");
27 27
28#include <openssl/evp.h> 28#include <openssl/evp.h>
29#include <openssl/err.h> 29#include <openssl/err.h>
@@ -123,8 +123,8 @@ ssh_rsa_verify(
123 return -1; 123 return -1;
124 } 124 }
125 if (BN_num_bits(key->rsa->n) < SSH_RSA_MINIMUM_MODULUS_SIZE) { 125 if (BN_num_bits(key->rsa->n) < SSH_RSA_MINIMUM_MODULUS_SIZE) {
126 error("ssh_rsa_verify: n too small: %d bits", 126 error("ssh_rsa_verify: RSA modulus too small: %d < minimum %d bits",
127 BN_num_bits(key->rsa->n)); 127 BN_num_bits(key->rsa->n), SSH_RSA_MINIMUM_MODULUS_SIZE);
128 return -1; 128 return -1;
129 } 129 }
130 buffer_init(&b); 130 buffer_init(&b);