Deleted Added
full compact
pem_lib.c (306195) pem_lib.c (325337)
1/* crypto/pem/pem_lib.c */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved.
4 *
5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL.
8 *

--- 522 unchanged lines hidden (view full) ---

531 p = header;
532 for (;;) {
533 c = *header;
534#ifndef CHARSET_EBCDIC
535 if (!(((c >= 'A') && (c <= 'Z')) || (c == '-') ||
536 ((c >= '0') && (c <= '9'))))
537 break;
538#else
1/* crypto/pem/pem_lib.c */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved.
4 *
5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL.
8 *

--- 522 unchanged lines hidden (view full) ---

531 p = header;
532 for (;;) {
533 c = *header;
534#ifndef CHARSET_EBCDIC
535 if (!(((c >= 'A') && (c <= 'Z')) || (c == '-') ||
536 ((c >= '0') && (c <= '9'))))
537 break;
538#else
539 if (!(isupper(c) || (c == '-') || isdigit(c)))
539 if (!(isupper((unsigned char)c) || (c == '-')
540 || isdigit((unsigned char)c)))
540 break;
541#endif
542 header++;
543 }
544 *header = '\0';
545 cipher->cipher = enc = EVP_get_cipherbyname(p);
546 *header = c;
547 header++;

--- 324 unchanged lines hidden ---
541 break;
542#endif
543 header++;
544 }
545 *header = '\0';
546 cipher->cipher = enc = EVP_get_cipherbyname(p);
547 *header = c;
548 header++;

--- 324 unchanged lines hidden ---