Skip to content

Commit

Permalink
add documentation for GENERAL_NAME_create()
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeev-0 committed Feb 26, 2024
1 parent a28b7f5 commit 352722c
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/build.info
Original file line number Diff line number Diff line change
Expand Up @@ -1471,6 +1471,10 @@ DEPEND[html/man3/EVP_whirlpool.html]=man3/EVP_whirlpool.pod
GENERATE[html/man3/EVP_whirlpool.html]=man3/EVP_whirlpool.pod
DEPEND[man/man3/EVP_whirlpool.3]=man3/EVP_whirlpool.pod
GENERATE[man/man3/EVP_whirlpool.3]=man3/EVP_whirlpool.pod
DEPEND[html/man3/GENERAL_NAME.html]=man3/GENERAL_NAME.pod
GENERATE[html/man3/GENERAL_NAME.html]=man3/GENERAL_NAME.pod
DEPEND[man/man3/GENERAL_NAME.3]=man3/GENERAL_NAME.pod
GENERATE[man/man3/GENERAL_NAME.3]=man3/GENERAL_NAME.pod
DEPEND[html/man3/HMAC.html]=man3/HMAC.pod
GENERATE[html/man3/HMAC.html]=man3/HMAC.pod
DEPEND[man/man3/HMAC.3]=man3/HMAC.pod
Expand Down Expand Up @@ -3299,6 +3303,7 @@ html/man3/EVP_sha3_224.html \
html/man3/EVP_sm3.html \
html/man3/EVP_sm4_cbc.html \
html/man3/EVP_whirlpool.html \
html/man3/GENERAL_NAME.html \
html/man3/HMAC.html \
html/man3/MD5.html \
html/man3/MDC2_Init.html \
Expand Down Expand Up @@ -3944,6 +3949,7 @@ man/man3/EVP_sha3_224.3 \
man/man3/EVP_sm3.3 \
man/man3/EVP_sm4_cbc.3 \
man/man3/EVP_whirlpool.3 \
man/man3/GENERAL_NAME.3 \
man/man3/HMAC.3 \
man/man3/MD5.3 \
man/man3/MDC2_Init.3 \
Expand Down
39 changes: 39 additions & 0 deletions doc/man3/GENERAL_NAME.pod
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
=pod

=head1 NAME

GENERAL_NAME_create,

=head1 SYNOPSIS

#include <openssl/x509v3.h>

int GENERAL_NAME_create(GENERAL_NAME **tgt, const X509_NAME *src);

=head1 DESCRIPTION

GENERAL_NAME_create() creates a new GENERAL_NAME of type GEN_DIRNAME
and populates it based on provided X509_NAME I<src> which can be NULL.
If I<tgt> must not be NULL. If successful, I<*tgt> will be set to point
to the newly created GENERAL_NAME.

=head1 NOTES
=head1 RETURN VALUES

GENERAL_NAME_create() return 1 on success, 0 on error.

=head1 SEE ALSO
=head1 HISTORY

GENERAL_NAME_create() was added in OpenSSL 3.3.

=head1 COPYRIGHT

Copyright 2007-2024 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
in the file LICENSE in the source distribution or at
L<https://www.openssl.org/source/license.html>.

=cut

0 comments on commit 352722c

Please sign in to comment.