diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2000-02-26 01:55:33 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2000-02-26 01:55:33 +0000 |
commit | c7cb16a8ffa2a791949044378f278e8f4089d7d6 (patch) | |
tree | cfcea4ea79aeef0cf9867f187805a5c3712a8f49 /crypto/x509/x509_req.c | |
parent | 47c177c7b369ba40aa7f4a56d4b83f4178cf1d9f (diff) |
Rename functions for new convention.
Diffstat (limited to 'crypto/x509/x509_req.c')
-rw-r--r-- | crypto/x509/x509_req.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/crypto/x509/x509_req.c b/crypto/x509/x509_req.c index 68b8c2d76f..baef8790eb 100644 --- a/crypto/x509/x509_req.c +++ b/crypto/x509/x509_req.c @@ -244,35 +244,35 @@ X509_ATTRIBUTE *X509_REQ_delete_attr(X509_REQ *req, int loc) return X509at_delete_attr(req->req_info->attributes, loc); } -int X509_REQ_radd_attr(X509_REQ *req, X509_ATTRIBUTE *attr) +int X509_REQ_add1_attr(X509_REQ *req, X509_ATTRIBUTE *attr) { - if(X509at_radd_attr(&req->req_info->attributes, attr)) return 1; + if(X509at_add1_attr(&req->req_info->attributes, attr)) return 1; return 0; } -int X509_REQ_radd_attr_by_OBJ(X509_REQ *req, +int X509_REQ_add1_attr_by_OBJ(X509_REQ *req, ASN1_OBJECT *obj, int type, unsigned char *bytes, int len) { - if(X509at_radd_attr_by_OBJ(&req->req_info->attributes, obj, + if(X509at_add1_attr_by_OBJ(&req->req_info->attributes, obj, type, bytes, len)) return 1; return 0; } -int X509_REQ_radd_attr_by_NID(X509_REQ *req, +int X509_REQ_add1_attr_by_NID(X509_REQ *req, int nid, int type, unsigned char *bytes, int len) { - if(X509at_radd_attr_by_NID(&req->req_info->attributes, nid, + if(X509at_add1_attr_by_NID(&req->req_info->attributes, nid, type, bytes, len)) return 1; return 0; } -int X509_REQ_radd_attr_by_txt(X509_REQ *req, +int X509_REQ_add1_attr_by_txt(X509_REQ *req, char *attrname, int type, unsigned char *bytes, int len) { - if(X509at_radd_attr_by_txt(&req->req_info->attributes, attrname, + if(X509at_add1_attr_by_txt(&req->req_info->attributes, attrname, type, bytes, len)) return 1; return 0; } |