Lines Matching defs:in

8  * Redistribution and use in source and binary forms, with or without
15 * Redistributions in binary form must reproduce the above copyright notice,
16 * this list of conditions and the following disclaimer in the documentation
45 * runs before the main validator starts. I.e. in the init script:
71 * If there is no root key in the root.key file, it bootstraps the
98 * in the past (otherwise, RFC5011 should have worked). This keeps
102 * The dates on the keys in the xml are checked (uses the libexpat xml
105 * written in the keyfile that tells the main validator daemon the zone is
109 * intermediate CAs are included in the p7s file that was downloaded. (the
142 /** name of server in URL to fetch HTTPS from */
193 /** next in list */
219 printf("-u name server in https url, default %s\n", URLNAME);
221 printf("-x path pathname to xml in url, default %s\n", XMLNAME);
222 printf("-s path pathname to p7s in url, default %s\n", P7SNAME);
237 printf("BSD licensed, see LICENSE in source package for details.\n");
242 /** return the built in root update certificate */
249 /** return the built in root DS trust anchor */
322 /** printout certificate in detail */
338 /** printout certificates in detail */
381 FILE* in;
392 in = fopen(file, "r");
393 if(!in) {
400 while(!feof(in)) {
401 X509* x = PEM_read_X509(in, NULL, NULL, NULL);
411 fclose(in);
416 if(!fgets(buf, (int)sizeof(buf), in))
419 fclose(in);
534 if(verb) printf("internal error: bad type in RRtoip\n");
879 * @param buf: buffer to return line in.
945 return NULL; /* to protect against integer overflow in malloc*/
1163 * @return a memory BIO with the file in it.
1196 /** number of keys usefully read in */
1234 * @param s: the character data. May not all be in one callback.
1257 if(verb) printf("out of memory in BIO_write\n");
1268 if(verb) printf("out of memory in BIO_write\n");
1304 /* for this application, ignore minus in front;
1461 if(verb) printf("out of memory in BIO_write\n");
1475 if(verb) printf("out of memory in BIO_write\n");
1478 /* remove newlines in the data here */
1485 if(verb) printf("out of memory in BIO_write\n");
1590 * @return memoryBIO with the DS data in zone format.
1671 /** get valid signers from the list of signers in the signature */
1685 if(verb) printf("no signers in pkcs7 signature\n");
1809 /* check what is in the Subject name of the certificates,
1996 FILE* in = fopen(file, "r");
1997 if(!in) {
2007 while(fgets(line, (int)sizeof(line), in)) {
2010 fclose(in);
2024 fclose(in);
2118 /** see if ADDPEND keys exist in autotrust file (if possible) */
2122 FILE* in = fopen(file, "r");
2124 if(!in) {
2128 while(fgets(line, (int)sizeof(line), in)) {
2131 fclose(in);
2136 fclose(in);
2144 FILE* in = fopen(file, "r");
2146 if(!in) {
2150 while(fgets(line, (int)sizeof(line), in)) {
2154 fclose(in);
2164 fclose(in);
2165 if(verb) printf("no last_success probe time in anchor file\n");
2195 return 1; /* key in ADDPEND state, a previous probe has
2196 inserted that, and it was present in all recent probes,
2202 if(verb) printf("the last successful probe is in the future,"
2288 /** getopt global, in case header files fail to declare it. */
2290 /** getopt global, in case header files fail to declare it. */