Commit 0cb8c9d8 authored by lrns's avatar lrns Committed by Rich Salz
Browse files

Change req_check_len error message, it also accepts 20 bytes, but states 'less...


Change req_check_len error message, it also accepts 20 bytes, but states 'less than' in the error message

Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2648)
parent ac879ed6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1273,7 +1273,7 @@ static int req_check_len(int len, int n_min, int n_max)
    }
    if ((n_max >= 0) && (len > n_max)) {
        BIO_printf(bio_err,
                   "string is too long, it needs to be less than  %d bytes long\n",
                   "string is too long, it needs to be no more than %d bytes long\n",
                   n_max);
        return (0);
    }