1 1.1 christos =pod 2 1.1 christos 3 1.1 christos =head1 NAME 4 1.1 christos 5 1.1 christos ASN1_INTEGER_new, ASN1_INTEGER_free - ASN1_INTEGER allocation functions 6 1.1 christos 7 1.1 christos =head1 SYNOPSIS 8 1.1 christos 9 1.1 christos =for openssl generic 10 1.1 christos 11 1.1 christos #include <openssl/asn1.h> 12 1.1 christos 13 1.1 christos ASN1_INTEGER *ASN1_INTEGER_new(void); 14 1.1 christos void ASN1_INTEGER_free(ASN1_INTEGER *a); 15 1.1 christos 16 1.1 christos =head1 DESCRIPTION 17 1.1 christos 18 1.1 christos ASN1_INTEGER_new() returns an allocated B<ASN1_INTEGER> structure. 19 1.1 christos 20 1.1 christos ASN1_INTEGER_free() frees up a single B<ASN1_INTEGER> object. 21 1.1.1.2 christos If the argument is NULL, nothing is done. 22 1.1 christos 23 1.1 christos B<ASN1_INTEGER> structure representing the ASN.1 INTEGER type 24 1.1 christos 25 1.1 christos =head1 RETURN VALUES 26 1.1 christos 27 1.1 christos ASN1_INTEGER_new() return a valid B<ASN1_INTEGER> structure or NULL 28 1.1 christos if an error occurred. 29 1.1 christos 30 1.1 christos ASN1_INTEGER_free() does not return a value. 31 1.1 christos 32 1.1 christos =head1 SEE ALSO 33 1.1 christos 34 1.1 christos L<ERR_get_error(3)> 35 1.1 christos 36 1.1 christos =head1 COPYRIGHT 37 1.1 christos 38 1.1.1.2 christos Copyright 2020-2024 The OpenSSL Project Authors. All Rights Reserved. 39 1.1 christos 40 1.1 christos Licensed under the Apache License 2.0 (the "License"). You may not use 41 1.1 christos this file except in compliance with the License. You can obtain a copy 42 1.1 christos in the file LICENSE in the source distribution or at 43 1.1 christos L<https://www.openssl.org/source/license.html>. 44 1.1 christos 45 1.1 christos =cut 46