ASN1_INTEGER_NEW(3ossl)
okay bestie, welcome to the ASN1_INTEGER_NEW(3ossl) manual page from OpenSSL β yes, we're doing allocation functions today and it's gonna be cute. π
πΈ NAME πΈ
ASN1_INTEGER_new, ASN1_INTEGER_free β the ASN1_INTEGER allocation functions. That's the whole vibe.
β¨ SYNOPSIS β¨
#include <openssl/asn1.h>
ASN1_INTEGER *ASN1_INTEGER_new(void);
void ASN1_INTEGER_free(ASN1_INTEGER *a);
π DESCRIPTION π
ASN1_INTEGER_new() returns an allocated ASN1_INTEGER structure. Yep, it hands you a whole structure, no cap. π«Ά
ASN1_INTEGER_free() frees up a single ASN1_INTEGER object. Just one, okay? And if the argument is NULL, nothing is done β literally nothing, it's giving polite silence. π
The ASN1_INTEGER structure is the one representing the ASN.1 INTEGER type. Iconic, honestly. β
π¦ RETURN VALUES π¦
ASN1_INTEGER_new() returns a valid ASN1_INTEGER structure or NULL if an error occurred. So if you get NULL, that's your error moment β check it, bestie. π
ASN1_INTEGER_free() does not return a value. No return, no drama. π
π₯ SEE ALSO π₯
ERR_get_error(3)β go look at this if you need the error details, iykyk. π
π COPYRIGHT π
Copyright 2020-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 <https://www.openssl.org/source/license.html>. π
okay that's the whole page, bestie β it's from OpenSSL 3.5.6, dated 2026-04-07, and yes, it's the ASN1_INTEGER_NEW(3ossl) manual page. slay. π
π¦ where this page comes from
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms