Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • 44898a0
  • /
  • providers
  • /
  • common
  • /
  • nid_to_name.c
Raw File
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:af2a7cbc6a604369b1f61e6a88aea273ed44703a
directory badge Iframe embedding
swh:1:dir:dbb12fcefae119d14024ea19bc64b46cd0430558
nid_to_name.c
/*
 * Copyright 2019 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
 */

#include <openssl/objects.h>
#include "prov/providercommon.h"

/*
 * The FIPS provider has its own version of this in fipsprov.c because it does
 * not have OBJ_nid2sn();
 */
const char *ossl_prov_util_nid_to_name(int nid)
{
   return OBJ_nid2sn(nid);
}

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top