aboutsummaryrefslogtreecommitdiff
path: root/apps/req.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-11-28 14:07:14 +0000
committerRichard Levitte <levitte@openssl.org>2003-11-28 14:07:14 +0000
commit6d5ffb591ba0baa98be27df8acabf2018473dd3d (patch)
treeeecc5c1848ebfdefbaf5076df98cf49f10baa4fe /apps/req.c
parent7ce9e425bcf51c8a83e66afe3249381ed9391560 (diff)
downloadopenssl-6d5ffb591ba0baa98be27df8acabf2018473dd3d.zip
openssl-6d5ffb591ba0baa98be27df8acabf2018473dd3d.tar.gz
openssl-6d5ffb591ba0baa98be27df8acabf2018473dd3d.tar.bz2
Move do_subject() to apps.c and rename it to parse_name(). The
rationale behind the move is that it's use by several applications. The rationale behind the name change is that it describes what the function does a bit better.
Diffstat (limited to 'apps/req.c')
-rw-r--r--apps/req.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/req.c b/apps/req.c
index ecc4655..c5becc9 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -1248,7 +1248,7 @@ static int build_subject(X509_REQ *req, char *subject, unsigned long chtype, int
{
X509_NAME *n;
- if (!(n = do_subject(subject, chtype, multirdn)))
+ if (!(n = parse_name(subject, chtype, multirdn)))
return 0;
if (!X509_REQ_set_subject_name(req, n))