]> andersk Git - openssh.git/blobdiff - ssh-rsa.c
- stevesk@cvs.openbsd.org 2002/06/10 16:53:06
[openssh.git] / ssh-rsa.c
index 458c9c840efab6d4375b655de7ce18d2a3090059..3e66294e9f8c4ad939cfb0a8b40e8b5c673f5728 100644 (file)
--- a/ssh-rsa.c
+++ b/ssh-rsa.c
@@ -23,7 +23,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: ssh-rsa.c,v 1.19 2002/05/31 13:20:50 markus Exp $");
+RCSID("$OpenBSD: ssh-rsa.c,v 1.20 2002/06/10 16:53:06 stevesk Exp $");
 
 #include <openssl/evp.h>
 #include <openssl/err.h>
@@ -123,8 +123,8 @@ ssh_rsa_verify(
                return -1;
        }
        if (BN_num_bits(key->rsa->n) < SSH_RSA_MINIMUM_MODULUS_SIZE) {
-               error("ssh_rsa_verify: n too small: %d bits",
-                   BN_num_bits(key->rsa->n));
+               error("ssh_rsa_verify: RSA modulus too small: %d < minimum %d bits",
+                   BN_num_bits(key->rsa->n), SSH_RSA_MINIMUM_MODULUS_SIZE);
                return -1;
        }
        buffer_init(&b);
This page took 0.033904 seconds and 4 git commands to generate.