added CERT_ROOF
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 23 Mar 2007 22:01:59 +0000 (22:01 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 23 Mar 2007 22:01:59 +0000 (22:01 -0000)
src/charon/encoding/payloads/certreq_payload.c

index 55f04c5..4666381 100644 (file)
@@ -116,7 +116,7 @@ encoding_rule_t certreq_payload_encodings[] = {
 static status_t verify(private_certreq_payload_t *this)
 {
        if ((this->cert_encoding == 0) ||
-               ((this->cert_encoding >= 14) && (this->cert_encoding <= 200)))
+               ((this->cert_encoding >= CERT_ROOF) && (this->cert_encoding <= 200)))
        {
                /* reserved IDs */
                return FAILED;