trim trailing spaces
This commit is contained in:
parent
b06270645e
commit
ddede01d16
@ -40,7 +40,7 @@ int der_decode_teletex_string(const unsigned char *in, unsigned long inlen,
|
|||||||
return CRYPT_INVALID_PACKET;
|
return CRYPT_INVALID_PACKET;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* check for 0x13 */
|
/* check for 0x14 */
|
||||||
if ((in[0] & 0x1F) != 0x14) {
|
if ((in[0] & 0x1F) != 0x14) {
|
||||||
return CRYPT_INVALID_PACKET;
|
return CRYPT_INVALID_PACKET;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user