Fossil

Diff
Login

Differences From Artifact [cffdb9d69b]:

To Artifact [b0951dca51]:


908
909
910
911
912
913
914
915
916


917
918
919
920
921
922
923
924
925
926
927
928



929
930
931
932



933
934
935


936
937
938
939
940
941
942
908
909
910
911
912
913
914


915
916
917
918
919
920
921
922
923
924
925



926
927
928
929



930
931
932
933


934
935
936
937
938
939
940
941
942







-
-
+
+









-
-
-
+
+
+

-
-
-
+
+
+

-
-
+
+







static void trust_location_usable(const char *zPath, const char **pzStore){
  if( *pzStore!=0 ) return;
  if( file_isdir(zPath, ExtFILE)>0 ) *pzStore = zPath;
}
#endif /* FOSSIL_ENABLE_SSL */

/*
** COMMAND: tls-config*
** COMMAND: ssl-config
** COMMAND: tls-config*                       abbreviated-subcommands
** COMMAND: ssl-config                        abbreviated-subcommands
**
** Usage: %fossil ssl-config [SUBCOMMAND] [OPTIONS...] [ARGS...]
**
** This command is used to view or modify the TLS (Transport Layer
** Security) configuration for Fossil.  TLS (formerly SSL) is the
** encryption technology used for secure HTTPS transport.
**
** Sub-commands:
**
**   remove-exception DOMAINS    Remove TLS cert exceptions for the domains
**                               listed.  Or remove them all if the --all
**                               option is specified.
**    remove-exception DOMAINS    Remove TLS cert exceptions for the domains
**                                listed.  Or remove them all if the --all
**                                option is specified.
**
**   scrub ?--force?             Remove all SSL configuration data from the
**                               repository. Use --force to omit the
**                               confirmation.
**    scrub ?--force?             Remove all SSL configuration data from the
**                                repository. Use --force to omit the
**                                confirmation.
**
**   show ?-v?                   Show the TLS configuration. Add -v to see
**                               additional explanation
**    show ?-v?                   Show the TLS configuration. Add -v to see
**                                additional explanation
*/
void test_tlsconfig_info(void){
  const char *zCmd;
  size_t nCmd;
  int nHit = 0;

  db_find_and_open_repository(OPEN_OK_NOT_FOUND|OPEN_SUBSTITUTE,0);