Revert "Merged RSA-PSS support in Certificate, CSR and CRL"

This reverts commit ab50d8d30c, reversing
changes made to e31b1d992a.
This commit is contained in:
Manuel Pégourié-Gonnard 2014-02-12 09:39:59 +01:00
parent 6df09578bb
commit c9093085ed
37 changed files with 40 additions and 832 deletions

View file

@ -93,13 +93,9 @@
/** Returns the size of the binary string, without the trailing \\0 */
#define OID_SIZE(x) (sizeof(x) - 1)
/**
* Compares an asn1_buf structure to a reference OID.
*
* Only works for 'defined' oid_str values (OID_HMAC_SHA1), you cannot use a
* 'unsigned char *oid' here!
*
* Warning: returns true when the OIDs are equal (unlike memcmp)!
/** Compares two asn1_buf structures for the same OID. Only works for
* 'defined' oid_str values (OID_HMAC_SHA1), you cannot use a 'unsigned
* char *oid' here!
*/
#define OID_CMP(oid_str, oid_buf) \
( ( OID_SIZE(oid_str) == (oid_buf)->len ) && \