---
name: "OSSL_GENERAL_NAMES_print"
section: "3ssl"
platform: "linux"
package: "openssl"
version: "3.6.5-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/OSSL_GENERAL_NAMES_print"
---

# OSSL\_GENERAL\_NAMES\_print(3ssl)

print GeneralNames in a human-friendly, multi-line string

## NAME

OSSL\_GENERAL\_NAMES\_print - print GeneralNames in a human-friendly, multi-line string

## SYNOPSIS

```
 #include <openssl/x509v3.h>
 int OSSL_GENERAL_NAMES_print(BIO *out, GENERAL_NAMES *gens, int indent);
```

## DESCRIPTION

**OSSL\_GENERAL\_NAMES\_print()** prints a human readable version of the GeneralNames *gens* to BIO *out*. Each line is indented by *indent* spaces.

## RETURN VALUES

**OSSL\_GENERAL\_NAMES\_print()** always returns 1.

## HISTORY

The functions described here were all added in OpenSSL 3.4.

## COPYRIGHT

Copyright 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\>.
