]> git.saurik.com Git - apple/security.git/blame - keychain/escrowrequest/EscrowRequestServerHelpers.m
Security-59306.11.20.tar.gz
[apple/security.git] / keychain / escrowrequest / EscrowRequestServerHelpers.m
CommitLineData
b54c578e
A
1
2#import <Foundation/Foundation.h>
3
4#import "utilities/debugging.h"
5#import "keychain/escrowrequest/EscrowRequestServer.h"
6#import "keychain/escrowrequest/EscrowRequestServerHelpers.h"
7
8// False by default, to avoid turning this on in tests that don't want it
9static bool EscrowRequestServerEnabled = false;
10bool EscrowRequestServerIsEnabled(void) {
11 return EscrowRequestServerEnabled;
12}
13void EscrowRequestServerSetEnabled(bool enabled) {
14 EscrowRequestServerEnabled = enabled;
15}
16
17void EscrowRequestServerInitialize(void) {
18 secnotice("escrowrequest", "performing EscrowRequestServerInitialize");
19 EscrowRequestServer* server = [EscrowRequestServer server];
20 [server.controller.stateMachine startOperation];
21}