Skip to content

Commit 7d0b2c8

Browse files
authored
Update README.md
Add links to the badges
1 parent 7913421 commit 7d0b2c8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ntlmclient
22
==========
3-
![CI](https://github.com/ethomson/ntlmclient/workflows/CI/badge.svg) ![Coverity Build Status](https://scan.coverity.com/projects/15510/badge.svg?flat=1)
3+
[![CI](https://github.com/ethomson/ntlmclient/workflows/CI/badge.svg)](https://github.com/ethomson/ntlmclient/actions?query=workflow%3ACI) [![Coverity Build Status](https://scan.coverity.com/projects/15510/badge.svg?flat=1)](https://scan.coverity.com/projects/15510)
44

55
ntlmclient is a pure C library that supports NTLM2 authentication for
66
POSIX systems. It is generally used to support authentication to
@@ -74,7 +74,7 @@ usage example is:
7474
accept the defaults.
7575

7676

77-
```
77+
```c
7878
ntlm_client *ntlm;
7979

8080
/* Create an NTLM client context, using the default options. This
@@ -93,7 +93,7 @@ usage example is:
9393
9494
(Functions return `0` on success and non-zero on error.)
9595
96-
```
96+
```c
9797
if (ntlm_client_set_hostname(ntlm, "hostname", "DOMAIN") != 0 ||
9898
ntlm_client_set_credentials(ntlm, "user", "DOMAIN", "secret") != 0) {
9999
ntlm_client_set_target(ntlm, "SERVER") != 0) {
@@ -105,7 +105,7 @@ usage example is:
105105

106106
3. Compute the negotiate message and deliver it to the server.
107107

108-
```
108+
```c
109109
const unsigned char *negotiate_msg;
110110
size_t negotiate_len;
111111

@@ -119,7 +119,7 @@ usage example is:
119119
120120
4. Read the challenge message from the server, provide it to the library.
121121
122-
```
122+
```c
123123
/*
124124
* Read the NTLM challenge message from the remote host. For HTTP,
125125
* this will be in the `Authorization` header, following the SPNEGO

0 commit comments

Comments
 (0)