• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

randombit / botan / 6124864107

08 Sep 2023 05:50PM UTC coverage: 91.711% (-0.006%) from 91.717%
6124864107

push

github

web-flow
Merge pull request #3688 from randombit/jack/use-raw-getrandom-only-for-old-glibc

Use the raw getrandom syscall only if we detect an old glibc

78582 of 85684 relevant lines covered (91.71%)

8495613.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/lib/asn1/oids.cpp
1
/*
2
* OID Registry
3
* (C) 1999-2008,2013 Jack Lloyd
4
*
5
* Botan is released under the Simplified BSD License (see license.txt)
6
*/
7

8
#include <botan/oids.h>
9

10
#include <botan/internal/oid_map.h>
11

12
namespace Botan {
13

14
void OIDS::add_oid2str(const OID& oid, std::string_view name) {
×
15
   OID_Map::global_registry().add_oid2str(oid, name);
×
16
}
×
17

18
void OIDS::add_str2oid(const OID& oid, std::string_view name) {
×
19
   OID_Map::global_registry().add_str2oid(oid, name);
×
20
}
×
21

22
}  // namespace Botan
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc