1234567891011121314151617181920212223242526 |
- #ifndef _QA_QUESTIONS_H_
- #define _QA_QUESTIONS_H_
- #include <sys/queue.h>
- #include <openssl/x509.h>
- typedef struct qa_question {
- const char* name;
- int (* setup) (void);
- int (* teardown) ();
- int (* test) (X509 *cert);
- int (* ask_rsa) (RSA *rsa);
- int (* ask_crt) (X509 *cert);
- LIST_ENTRY(qa_question) qs;
- } qa_question_t;
- LIST_HEAD(listhead, qa_question) questions;
- void register_all_questions(void);
- #endif
|