Building a directory structure
This commit is contained in:
parent
6c3bf97d6d
commit
d5510b905a
4 changed files with 1101 additions and 0 deletions
1075
crypto/encoding/asn1.c
Normal file
1075
crypto/encoding/asn1.c
Normal file
File diff suppressed because it is too large
Load diff
9
crypto/rsa.c
Normal file
9
crypto/rsa.c
Normal file
|
@ -0,0 +1,9 @@
|
|||
//
|
||||
// rsa.c
|
||||
// c-libp2p
|
||||
//
|
||||
// Created by John Jones on 11/3/16.
|
||||
// Copyright © 2016 JMJAtlanta. All rights reserved.
|
||||
//
|
||||
|
||||
#include <stdio.h>
|
0
crypto/x509.c
Normal file
0
crypto/x509.c
Normal file
17
test/testit.c
Normal file
17
test/testit.c
Normal file
|
@ -0,0 +1,17 @@
|
|||
|
||||
int testit(const char* name, int (*func)(void)) {
|
||||
printf("Testing %s...\n", name);
|
||||
int retVal = func();
|
||||
if (retVal)
|
||||
printf("%s success!\n", name);
|
||||
else
|
||||
printf("** Uh oh! %s failed.**\n", name);
|
||||
return retVal;
|
||||
}
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
testit("test_repo_config_init", test_repo_config_init);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in a new issue