<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.7.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GSS",
  "identifier" : "/documentation/GSS/gss_oid_equal(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "GSS"
    ],
    "preciseIdentifier" : "c:@F@gss_oid_equal"
  },
  "title" : "gss_oid_equal(_:_:)"
}
-->

# gss_oid_equal(_:_:)

Returns a flag that indicates whether two object identifiers are the same.

```
func gss_oid_equal(_ a: gss_const_OID?, _ b: gss_const_OID?) -> Int32
```

## Parameters

`a`

The first object identifier to examine.

`b`

The second object identifier to examine.

## Return Value

A non-zero value if the objects are the same, or zero if they are different.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)