A few more ENGINE strings that need shortening.
[oweals/openssl.git] / crypto / x509v3 / v3_sxnet.c
index d3f4ba3a7243379ebd30790b298e758446d52222..819e2e670dac47328657d1b7bf5058c9cea7192b 100644 (file)
@@ -109,7 +109,7 @@ static int sxnet_i2r(X509V3_EXT_METHOD *method, SXNET *sx, BIO *out,
        SXNETID *id;
        int i;
        v = ASN1_INTEGER_get(sx->version);
-       BIO_printf(out, "%*sVersion: %d (0x%X)", indent, "", v + 1, v);
+       BIO_printf(out, "%*sVersion: %ld (0x%lX)", indent, "", v + 1, v);
        for(i = 0; i < sk_SXNETID_num(sx->ids); i++) {
                id = sk_SXNETID_value(sx->ids, i);
                tmp = i2s_ASN1_INTEGER(NULL, id->zone);
@@ -154,7 +154,7 @@ int SXNET_add_id_asc(SXNET **psx, char *zone, char *user,
 {
        ASN1_INTEGER *izone = NULL;
        if(!(izone = s2i_ASN1_INTEGER(NULL, zone))) {
-               X509V3err(X509V3_F_SXNET_ADD_ASC,X509V3_R_ERROR_CONVERTING_ZONE);
+               X509V3err(X509V3_F_SXNET_ADD_ID_ASC,X509V3_R_ERROR_CONVERTING_ZONE);
                return 0;
        }
        return SXNET_add_id_INTEGER(psx, izone, user, userlen);